#!/bin/bash

if [ $# -ne 1 ]
then
    echo "Levantando maquina virtual PPC, levantando Soporte de Red"
    qemu-system-ppc -hda  debian_squeeze_powerpc_standard.qcow2 -net nic,macaddr=52:54:00:12:34:36,model=rtl8139 -net socket,mcast=230.0.0.1:1234 &    
else
    echo "Levantando maquina virtual PPC con soporte ssh en 7777"
    qemu-system-ppc -hda  debian_squeeze_powerpc_standard.qcow2 -net nic,vlan=1,macaddr=52:54:00:12:34:36,model=rtl8139 -net user,vlan=1 -redir tcp:3333:10.0.2.15:22 &
fi
